<!--Copyright (C) Kherty.  All rights reserved.-->
<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    x:Class="OpenLS.UI.Themes.ContentPresenterResources"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:oui="clr-namespace:OpenLS.UI"
    >
  <Style TargetType="{x:Type ContentPresenter}" x:Key="ContentPresenterType"> <!-- make key-->
    <Setter Property="HorizontalAlignment" Value="Center"/>
    <Setter Property="VerticalAlignment" Value="Center"/>
    <Style.Triggers>
      <Trigger Property="oui:RibbonElement.IsIconVisible" Value="False">
        <Setter Property ="Visibility" Value="Collapsed"/>
      </Trigger>
    </Style.Triggers>
  </Style>

</ResourceDictionary>